From 949f46eb2b846ccb4f093145207f7f2f73c79b13 Mon Sep 17 00:00:00 2001 From: Alex Williamson Date: Thu, 31 May 2007 09:45:46 -0600 Subject: [PATCH] [IA64] Remove RBS from vcpu_guest_context_regs We need to address places where this is allocated on the stack before growing the structure this large. Signed-off-by: Alex Williamson --- xen/include/public/arch-ia64.h | 10 ++++++++++ xen/include/public/foreign/reference.size | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/xen/include/public/arch-ia64.h b/xen/include/public/arch-ia64.h index 735f876f7d..508e95a9dd 100644 --- a/xen/include/public/arch-ia64.h +++ b/xen/include/public/arch-ia64.h @@ -464,8 +464,18 @@ struct vcpu_guest_context_regs { struct vcpu_tr_regs tr; +#if 0 + /* + * The vcpu_guest_context structure is allocated on the stack in + * a few places. With this array for RBS storage, that structure + * is a bit over 21k. It looks like maybe we're blowing the stack + * and causing rather random looking failures on a couple systems. + * Remove since we're not actually using it for now. + */ + /* Note: loadrs is 2**14 bytes == 2**11 slots. */ unsigned long rbs[2048]; +#endif }; struct vcpu_guest_context { diff --git a/xen/include/public/foreign/reference.size b/xen/include/public/foreign/reference.size index a157136818..a3843013a5 100644 --- a/xen/include/public/foreign/reference.size +++ b/xen/include/public/foreign/reference.size @@ -8,8 +8,8 @@ cpu_user_regs | 68 200 496 xen_ia64_boot_param | - - 96 ia64_tr_entry | - - 32 vcpu_tr_regs | - - 512 -vcpu_guest_context_regs | - - 21872 -vcpu_guest_context | 2800 5168 21904 +vcpu_guest_context_regs | - - 5488 +vcpu_guest_context | 2800 5168 5520 arch_vcpu_info | 24 16 0 vcpu_time_info | 32 32 32 vcpu_info | 64 64 48 -- 2.30.2